<HTML>
<HEAD>
<TITLE>JavaScript Source Code 3000:  Messages:  Random Life Quote</TITLE>
<META HTTP-EQUIV="JavaScript Source Code 3000" CONTENT = "no-cache">
<META NAME="date" CONTENT="2000-09-09">
<META NAME="channel" CONTENT="Web Developer">
<META NAME="author" CONTENT="JavaScript Source Code 3000">
<META NAME="section" CONTENT="Messages">
<META NAME="description" CONTENT="Sometimes, you just need a JavaScript to help you live your life better.  Try this JavaScript random life quote generator and that's what you'll get!">
</HEAD>

<BODY BGCOLOR=#ffffff vlink=#0000ff>

<BR>
<center>
<table width="600" cellpadding="0" cellspacing="10">
<tr>
<td width="468" align="center">

	
</td>
<td width="120" align="center">

	
</td>
</tr>
</table>
<BR>
<BR>
<BASEFONT SIZE=3>
  <FONT SIZE=6>
<B><FONT SIZE="+2" FACE="Helvetica,Arial" ALIGN=RIGHT COLOR="#0000FF">
<b><A HREF="../index.htm" /" TARGET="_top">
Home</A> </b><img src="../img/arrow.gif" /img/arrow.gif" height=13 width=7 border=0 alt="}"> <b><A HREF="index.htm" /messages/"><font color="#FF0000">Messages</font></A> </b>
<img src="../img/arrow.gif" /img/arrow.gif" height=13 width=7 border=0 alt="}"> <FONT COLOR="#006666">Random Life Quote</FONT></b></FONT><BR>
</B><BR>
  </FONT>
<TABLE BORDER=0 WIDTH=500 CELLPADDING=3 CELLSPACING=0>
<tr><td><font FACE=" helvetica,arial,geneva">
<br>
<br>
<!-- Description --><!--content_start-->

Sometimes, you just need a JavaScript to help you live your life better.  Try this JavaScript random life quote generator and that's what you'll get!<br><hr>
</td></tr>
</table>
<!--  Demonstration -->
<BODY>
<CENTER>
<P>
<SCRIPT LANGUAGE="javascript">
<!-- Begin
var howMany = 41
var quote = new Array(howMany+1)
quote[0]="Force, and fraud, are in war the two cardinal virtues."
quote[1]="War is the great scavenger of thought."
quote[2]="War is the supreme drama of a completely mechanized society."
quote[3]="The quickest way of ending a war is to lose it."
quote[4]="Anyone who has ever looked into the glazed eyes of a soldier dying on the battlefield will think hard before starting a war."
quote[5]="There is nothing so subject to the inconstancy of fortune as war."
quote[6]="War is regarded as nothing but the continuation of politics by other means."
quote[7]="It takes twenty years or more of peace to make a man; it takes only twenty seconds of war to destroy him."
quote[8]="I'm trying to die correctly, but it's very difficult, you know."
quote[9]="All men think all men mortal, but themselves."
quote[10]="Life yields only to the conqueror. Never accept what can be gained by giving in. You will be living off stolen goods, and your muscles will atrophy."
quote[11]="I dream, therefore I exist."
quote[12]="Society often forgives the criminal; it never forgives the dreamer."
quote[13]="He who sleeps half a day has won half a life."
quote[14]="While the doctors consult, the patient dies."
quote[15]="Friends are like fiddle strings, they must not be screwed too tight."
quote[16]="A friend to all is a friend to none."
quote[17]="The calmest husbands make the stormiest wives."
quote[18]="The shortest answer is doing."
quote[19]="To talk without thinking is to shoot without aiming."
quote[20]="When the sword of rebellion is drawn, the sheath should be thrown away."
quote[21]="The mob has many heads but no brains."
quote[22]="Speak not of my debts unless you mean to pay them."
quote[23]="A blind man will not thank you for a looking-glass."
quote[24]="He that is born to be hanged shall never be drowned."
quote[25]="A country can be judged by the quality of its proverbs."
quote[26]="Flattery makes friends and truth makes enemies."
quote[27]="Life without a friend is death without a witness."
quote[28]="Translators, traitors."
quote[29]="If a man deceives me once, shame on him; if he deceives me twice, shame on me."
quote[30]="The nail that sticks up will be hammered down."
quote[31]="There are many paths to the top of the mountain, but the view is always the same."
quote[32]="Do not use a hatchet to remove a fly from your friend's forehead."
quote[33]="Of all the thirty-six alternatives, running away is best."
quote[34]="There is hope from the sea, but none from the grave."
quote[35]="When the apple is ripe it will fall."
quote[36]="Marry a mountain girl and you marry the whole mountain."
quote[37]="Life is a bridge. Cross over it, but build no house on it."
quote[38]="It is better to sit down than to stand, it is better to lie down than to sit, but death is the best of all."
quote[39]="If your buttocks burn, you know you have done wrong."
quote[40]="A wise man hears one word and understands two."
quote[41]="The course of true love never did run smooth."
function rndnumber(){
var randscript = -1
while (randscript < 0 || randscript > howMany || isNaN(randscript)){
randscript = parseInt(Math.random()*(howMany+1))
}
return randscript
}
quo = rndnumber()
quox = quote[quo]
document.write(quox)
// End -->
</SCRIPT>
<P>
<BR>
<P>
<a name="source">
<TABLE BORDER=0 WIDTH=500 CELLPADDING=3 CELLSPACING=0>
<tr><td BGCOLOR=yellow><font FACE="helvetica,arial,geneva"><b>JavaScript Source Code 3000:  Messages:  Random Life Quote</b>
<p>Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as NotePad or SimpleText) and save (Control-s or Apple-s).  The script is yours!<br><br></font></td></tr>
<tr><td BGCOLOR=yellow ALIGN=CENTER>
<form NAME="copy">

<DIV align="center">
<input type=button value="Highlight All" onClick="javascript:this.form.txt.focus();this.form.txt.select();">&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT TYPE="text" NAME="total" VALUE="Script Size:  3.69 KB  " size="24">
</DIV>

<textarea NAME="txt" ROWS=20 COLS=75 WRAP=VIRTUAL>

&lt;!-- ONE STEP TO INSTALL RANDOM LIFE QUOTE:

   1.  Add the specified code into the BODY of your HTML document  --&gt;

&lt;!-- STEP ONE: Put this code into the BODY of your HTML document  --&gt;

&lt;BODY&gt;

&lt;CENTER&gt;
&lt;SCRIPT LANGUAGE="JavaScript"&gt;

&lt;! &gt;
&lt;! &gt;

&lt;!-- Begin
var howMany = 41
var quote = new Array(howMany+1)
quote[0]="Force, and fraud, are in war the two cardinal virtues."
quote[1]="War is the great scavenger of thought."
quote[2]="War is the supreme drama of a completely mechanized society."
quote[3]="The quickest way of ending a war is to lose it."
quote[4]="Anyone who has ever looked into the glazed eyes of a soldier dying on the battlefield will think hard before starting a war."
quote[5]="There is nothing so subject to the inconstancy of fortune as war."
quote[6]="War is regarded as nothing but the continuation of politics by other means."
quote[7]="It takes twenty years or more of peace to make a man; it takes only twenty seconds of war to destroy him."
quote[8]="I'm trying to die correctly, but it's very difficult, you know."
quote[9]="All men think all men mortal, but themselves."
quote[10]="Life yields only to the conqueror. Never accept what can be gained by giving in. You will be living off stolen goods, and your muscles will atrophy."
quote[11]="I dream, therefore I exist."
quote[12]="Society often forgives the criminal; it never forgives the dreamer."
quote[13]="He who sleeps half a day has won half a life."
quote[14]="While the doctors consult, the patient dies."
quote[15]="Friends are like fiddle strings, they must not be screwed too tight."
quote[16]="A friend to all is a friend to none."
quote[17]="The calmest husbands make the stormiest wives."
quote[18]="The shortest answer is doing."
quote[19]="To talk without thinking is to shoot without aiming."
quote[20]="When the sword of rebellion is drawn, the sheath should be thrown away."
quote[21]="The mob has many heads but no brains."
quote[22]="Speak not of my debts unless you mean to pay them."
quote[23]="A blind man will not thank you for a looking-glass."
quote[24]="He that is born to be hanged shall never be drowned."
quote[25]="A country can be judged by the quality of its proverbs."
quote[26]="Flattery makes friends and truth makes enemies."
quote[27]="Life without a friend is death without a witness."
quote[28]="Translators, traitors."
quote[29]="If a man deceives me once, shame on him; if he deceives me twice, shame on me."
quote[30]="The nail that sticks up will be hammered down."
quote[31]="There are many paths to the top of the mountain, but the view is always the same."
quote[32]="Do not use a hatchet to remove a fly from your friend's forehead."
quote[33]="Of all the thirty-six alternatives, running away is best."
quote[34]="There is hope from the sea, but none from the grave."
quote[35]="When the apple is ripe it will fall."
quote[36]="Marry a mountain girl and you marry the whole mountain."
quote[37]="Life is a bridge. Cross over it, but build no house on it."
quote[38]="It is better to sit down than to stand, it is better to lie down than to sit, but death is the best of all."
quote[39]="If your buttocks burn, you know you have done wrong."
quote[40]="A wise man hears one word and understands two."
quote[41]="The course of true love never did run smooth."
function rndnumber(){
var randscript = -1
while (randscript &lt; 0 || randscript &gt; howMany || isNaN(randscript)){
randscript = parseInt(Math.random()*(howMany+1))
}
return randscript
}
quo = rndnumber()
quox = quote[quo]
document.write(quox)
// End --&gt;
&lt;/SCRIPT&gt;
&lt;/CENTER&gt;

 

&lt;!-- Script Size:  3.69 KB  --&gt;
</textarea><br><font FACE="helvetica,arial,geneva"></font></td></tr>

</table>
</form>
</FONT>
</CENTER>


</center>
</body></html>